package com.design_pattern._03_behavioral._01_visitor;

public class TestDriver {
    public static void main(String[] args) {
        ComputerPartVisitor gameVisitor = new GameVisitor(); // 不同的人群不同需求，不同配置
        Computer computer = new Computer();
        computer.accept(gameVisitor);
    }
}
